﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>Light: StateForge::Examples::Light::LightTestMoq Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                C# examples using state machines generated by StateBuilderDotNet
            </h1>
            <h3>
                Light: StateForge::Examples::Light::LightTestMoq Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_state_forge.html">StateForge</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples.html">Examples</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples_1_1_light.html">Light</a>      </li>
      <li class="navelem"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html">LightTestMoq</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">StateForge::Examples::Light::LightTestMoq Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="StateForge::Examples::Light::LightTestMoq" -->
<p><a href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a51f4367c886d77f8e70965dd19d6d617">Setup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a960502c30c8804dcff76d224f36385fc">Void</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#aca8181167e64e42b7211347639a35cc6">On</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#aa8903ea5970f4909f2cb8f0d19e1c9ae">OnOff</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#adacc5638cea5f6024c264399867d177f">Off</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a00851e52645e5725fefef9a01435762a">OffOnOnOffOff</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a959cadb4236844e2da962c53321aa74b">OnOffOnOff</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">LightContext&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Mock&lt; <a class="el" href="interface_state_forge_1_1_examples_1_1_light_1_1_i_light_actuator.html">ILightActuator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Mock&lt; IObserver &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad71dade4b292a71a2ba9d2cb02b2df01">contextName</a> = &quot;LightContext&quot;</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00012">12</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adacc5638cea5f6024c264399867d177f"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::Off" ref="adacc5638cea5f6024c264399867d177f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::Off </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00069">69</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOff(), Times.Exactly(0));
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a00851e52645e5725fefef9a01435762a"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::OffOnOnOffOff" ref="a00851e52645e5725fefef9a01435762a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::OffOnOnOffOff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00076">76</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOn();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOn();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOn(), Times.Exactly(1));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOff(), Times.Exactly(1));
        }
</pre></div>
</div>
</div>
<a class="anchor" id="aca8181167e64e42b7211347639a35cc6"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::On" ref="aca8181167e64e42b7211347639a35cc6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::On </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00040">40</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <span class="comment">//Needed when Strict mode is used</span>
            <span class="comment">//mockLightActuator.Setup(la =&gt; la.DoOn());</span>
            <span class="comment">//mockObserver.Setup(observer =&gt; observer.OnTransitionBegin(contextName, It.IsAny&lt;string&gt;(), It.IsAny&lt;string&gt;(), It.IsAny&lt;string&gt;()));</span>
            <span class="comment">//mockObserver.Setup(observer =&gt; observer.OnExit(contextName, It.IsAny&lt;string&gt;()));</span>
            <span class="comment">//mockObserver.Setup(observer =&gt; observer.OnEntry(contextName, It.IsAny&lt;string&gt;()));</span>
            <span class="comment">//mockObserver.Setup(observer =&gt; observer.OnTransitionEnd(contextName, It.IsAny&lt;string&gt;(), It.IsAny&lt;string&gt;(), It.IsAny&lt;string&gt;()));</span>

            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOn();
            
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOn(), Times.Exactly(1));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOff(), Times.Exactly(0));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad71dade4b292a71a2ba9d2cb02b2df01">contextName</a>, It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(1));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad71dade4b292a71a2ba9d2cb02b2df01">contextName</a>, It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(1));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad71dade4b292a71a2ba9d2cb02b2df01">contextName</a>, It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(1));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad71dade4b292a71a2ba9d2cb02b2df01">contextName</a>, It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(1));
        }
</pre></div>
</div>
</div>
<a class="anchor" id="aa8903ea5970f4909f2cb8f0d19e1c9ae"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::OnOff" ref="aa8903ea5970f4909f2cb8f0d19e1c9ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::OnOff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00060">60</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOn();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOn(), Times.Exactly(1));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOff(), Times.Exactly(1));
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a959cadb4236844e2da962c53321aa74b"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::OnOffOnOff" ref="a959cadb4236844e2da962c53321aa74b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::OnOffOnOff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00088">88</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOn();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOn();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a>.EvOff();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOn(), Times.Exactly(2));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOff(), Times.Exactly(2));
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a51f4367c886d77f8e70965dd19d6d617"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::Setup" ref="a51f4367c886d77f8e70965dd19d6d617" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::Setup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00020">20</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a> = <span class="keyword">new</span> Mock&lt;ILightActuator&gt;();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a> = <span class="keyword">new</span> Mock&lt;IObserver&gt;();
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">lightContext</a> = <span class="keyword">new</span> LightContext(<a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Object);
            lightContext.Observer = mockObserver.Object;
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a960502c30c8804dcff76d224f36385fc"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::Void" ref="a960502c30c8804dcff76d224f36385fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Light::LightTestMoq::Void </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00029">29</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOn(), Times.Exactly(0));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">mockLightActuator</a>.Verify(la =&gt; la.DoOff(), Times.Exactly(0));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnTransitionBegin(It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(0));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnTransitionEnd(It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(0));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnEntry(It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(0));
            <a class="code" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">mockObserver</a>.Verify(observer =&gt; observer.OnExit(It.IsAny&lt;<span class="keywordtype">string</span>&gt;(), It.IsAny&lt;<span class="keywordtype">string</span>&gt;()), Times.Exactly(0)); 
        }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ad71dade4b292a71a2ba9d2cb02b2df01"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::contextName" ref="ad71dade4b292a71a2ba9d2cb02b2df01" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad71dade4b292a71a2ba9d2cb02b2df01">StateForge::Examples::Light::LightTestMoq::contextName</a> = &quot;LightContext&quot;<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00017">17</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a606f5b858c86c56d2e325748b71f8aed"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::lightContext" ref="a606f5b858c86c56d2e325748b71f8aed" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LightContext <a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a606f5b858c86c56d2e325748b71f8aed">StateForge::Examples::Light::LightTestMoq::lightContext</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00014">14</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ad8ece8fe15be065d518314745936d3c0"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::mockLightActuator" ref="ad8ece8fe15be065d518314745936d3c0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Mock&lt;<a class="el" href="interface_state_forge_1_1_examples_1_1_light_1_1_i_light_actuator.html">ILightActuator</a>&gt; <a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#ad8ece8fe15be065d518314745936d3c0">StateForge::Examples::Light::LightTestMoq::mockLightActuator</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00015">15</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a6dbdd257b969c2fc774a8a3261d05b99"></a><!-- doxytag: member="StateForge::Examples::Light::LightTestMoq::mockObserver" ref="a6dbdd257b969c2fc774a8a3261d05b99" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Mock&lt;IObserver&gt; <a class="el" href="class_state_forge_1_1_examples_1_1_light_1_1_light_test_moq.html#a6dbdd257b969c2fc774a8a3261d05b99">StateForge::Examples::Light::LightTestMoq::mockObserver</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_test_moq_8cs_source.html#l00016">16</a> of file <a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Test/LightTestMoq/<a class="el" href="_light_test_moq_8cs_source.html">LightTestMoq.cs</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
